class Tank
{
 float initialY, initialX;
 int rechargeTime, damage, health, cost, reward;
 String state;
 
 Tank()
 {
  initialY = random(screen.height);
  initialX = 0;
  rechargeTime = 4;
  damage = 5;
  health = 20;
  cost = 40;
  reward = 50;
  state = "move";
 }
 
 //Determines starting side based on which team it is on
 Tank(int team)
 {
  initialY = random(screen.height);
  if(team == 1)
  {
    initialX = 0; // left side of screen
  }
  if(team == 2)
  {
    initialX = screen.width; // right side of the screen
  }
  rechargeTime = 4;
  damage = 5;
  health = 20;
  cost = 40;
  reward = 50;
  state = "move";
 }
 
 float getInitialY()
  {
    return initialY;
  }
 
 float getInitialX()
  {
    return initialX;
  }
  
  int getRechargeTime()
  {
    return rechargeTime;
  }
  
   int getDamage()
  {
    return damage;
  }
  
   int getHealth()
  {
    return health;
  }
  
   int getCost()
  {
    return cost;
  }
  
   int getReward()
  {
    return reward;
  }
  
  void update()
  {
    
  }
}
